package com.ynet.middleground.riskmanage.bean.hangxin;

import javax.validation.constraints.NotEmpty;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liwq
 * @description 红字发票申请表的撤销功能请求信息
 * @date 2021-11-05 16:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "红字发票申请表的撤销功能请求信息", description = "红字发票申请表的撤销功能请求信息")
public class HzfpsqdcxReq extends BaseReqObj {

    private static final long serialVersionUID = 1043964725373616843L;

    @XStreamAlias("NSRSBH")
    @ApiModelProperty(value = "纳税人识别号", notes = "纳税人识别号", required = true)
    @NotEmpty(message = "纳税人识别号不能为空")
    private String nsrsbh;

    @ApiModelProperty(value = "分机号", notes = "分机号", required = true)
    @NotEmpty(message = "分机号不能为空")
    @XStreamAlias("FJH")
    private String fjh;

    @ApiModelProperty(value = "信息表流水号(待撤销的红字申请表流水号)", notes = "信息表流水号(待撤销的红字申请表流水号)", required = true)
    @NotEmpty(message = "信息表流水号不能为空")
    @XStreamAlias("XXBLSH")
    private String xxblsh;

    @ApiModelProperty(value = "信息表编号（红字申请表上传税局成功后，税局返回的信息表编号（通过税控业务操作处理结果查询红字申请表上传结果时获得））",
        notes = "信息表编号（红字申请表上传税局成功后，税局返回的信息表编号（通过税控业务操作处理结果查询红字申请表上传结果时获得））", required = true)
    @NotEmpty(message = "信息表编号不能为空")
    @XStreamAlias("XXBBH")
    private String xxbbh;
}
